package com.codyy.lib.base.application.repos.viewmodel

import com.codyy.lib.base.application.repos.model.DataXX
import com.codyy.lib.base.application.repos.repository.ReposRepository
import com.codyy.lib_common.base.viewmodel.BasePagingModel

class ArticleViewModel(private val mReposRepository: ReposRepository) : BasePagingModel<DataXX>() {
    override suspend fun getDataList(page: Int): List<DataXX> {
        return mReposRepository.getArticleList(page - 1).data.datas
    }
}